<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>当天发送记录查询</title>
	</head>
	<body>
		<div id="serch" style="float: left; margin-top:10px;">
			手机号码：<input type="text" id="txtMobile" size="11" onkeypress="isNum()" onkeyup="isNum()">
			<input style="background: url(images/btnbg.png) no-repeat; margin-right: 3px; cursor: hand;" type="button" value="查 询" class="button" onclick="searchByMobile()">
		
		</div>
		<div id="attention" style="float:right;margin-top:10px;display:none;">IE浏览器下单机表格中任意部分完成复制操作&nbsp;&nbsp;&nbsp;</div>
		<div id="list_TB" style="float: left; width: 100%; overflow-y: auto; overflow-x: hidden; height: 353px; ">
			<table  width="100%" border="0" cellspacing="0" cellpadding="0" class="atable">
				<tbody>
					<tr bgcolor="#FFFFFF">
		      			<td colspan="10">
		      				<p:pageSplit pageNo="${pageDataLists.pageNo}" url="raskqueryhistoryday_list.do" count="${pageDataLists.totalRecords}" pageSize="${pageDataLists.pageSize}"/>
		      			</td>
		      		</tr>
					<tr>
						<th>
							序号
						</th>
						<th>
							批次号码
						</th>
						<th>
							发送类型
						</th>
						<th>
							手机号码
						</th>
						<th>
							短信内容
						</th>
						<th>
							网关状态
						</th>
						<th>
							状态报告
						</th>
						<th>
							发送时间
						</th>
						<th>
							操作
						</th>
					</tr>
					<c:if test="${fn:length(pageDataLists.records)==0}">
				     <tr>
				     	<td colspan="10" class="table_jsh">---无记录---</td>
				     </tr>
				    </c:if>
					<c:forEach items="${pageDataLists.records}" var="item" varStatus="status" >
						<tr>
							<td class="table_jsh">&nbsp;${item.id }</td>
							<td class="table_jsh">&nbsp;${item.gid }</td>
							<td class="table_jsh">&nbsp;${item.channelid }</td>
							<td class="table_jsh">&nbsp;${item.mobile }</td>
							<td class="table_jsh">&nbsp;${item.message }</td>
							<td class="table_jsh">&nbsp;${item.status }</td>
							<td class="table_jsh">&nbsp;${item.msgstate }</td>
							<td class="table_jsh">&nbsp;<fmt:formatDate value="${item.updatetime }" /></td>
							<td class="table_jsh"><a href="ybzy.html" target="_blank">详情</a></td>
						</tr>
					</c:forEach>
		      		<tr bgcolor="#FFFFFF">
		      			<td colspan="10">
		      				<p:pageSplit pageNo="${pageDataLists.pageNo}" url="raskqueryhistoryday_list.do" count="${pageDataLists.totalRecords}" pageSize="${pageDataLists.pageSize}"/>
		      			</td>
		      		</tr>
		      	</tbody>
			 </table>
		</div>
	</body>
</html>
